package com.example.design.patterns.geekbang.结构型.结构类似的模式.适配器模式.sljf4j;

/**
 * slf4j统一的接口定义
 * package org.slf4j;
 */
public interface Logger {
    public boolean isTraceEnabled();

    public void trace(String msg);

    public void trace(String format, Object arg);

    public void trace(String format, Object arg1, Object arg2);

    public void trace(String format, Object[] argArray);

    public void trace(String msg, Throwable t);

    public boolean isDebugEnabled();

    public void debug(String msg);

    public void debug(String format, Object arg);

    public void debug(String format, Object arg1, Object arg2);

    public void debug(String format, Object[] argArray);

    public void debug(String msg, Throwable t);

    //...省略info、warn、error等一堆接口
}
